package com.arsl.client.data;

import javax.persistence.Entity;

import com.arsl.client.util.Constants.ContentStatus;
import com.google.gwt.user.client.rpc.IsSerializable;

@Entity
public class Content implements IsSerializable {
	int id;
	String type;
	String title;
	String description;
	String url;
	int publisherId;
	ContentStatus contentStatus;
	String uniqueId;

	/**
	 * @return the publisherId
	 */
	public int getPublisherId() {
		return publisherId;
	}

	/**
	 * @param publisherId
	 *            the publisherId to set
	 */
	public void setPublisherId(int publisherId) {
		this.publisherId = publisherId;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}
	
	public void setStatus(ContentStatus status)
	{
		this.contentStatus = status;
	}
	
	public ContentStatus getStatus()
	{
		return this.contentStatus;
	}
	
	public void setUUID(String uuid)
	{
		this.uniqueId = uuid;
	}
	
	public String getUUID()
	{
		return this.uniqueId;
	}

}
